home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 5.3 for Indy R4400
/
IRIX 5.3 for Indy R4400 175MHz.img
/
dist
/
eoe2.idb
/
usr
/
src
/
rcs
/
DCsource.Z
/
DCsource
/
Makefile.in
< prev
next >
Wrap
Makefile
|
1995-02-28
|
3KB
|
122 lines
# Makefile for GNU dc. -*- Indented-Text -*-
# Copyright (C) 1993 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#### Start of system configuration section. ####
srcdir = @srcdir@
VPATH = @srcdir@
CC = @CC@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
DEFS = @DEFS@
LIBS = @LIBS@
CFLAGS = -g
LDFLAGS = -g
prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
datadir = $(prefix)/lib
libdir = $(prefix)/lib
infodir = $(prefix)/info
# Where to install the manual pages.
mandir = $(prefix)/man/man1
# Extension (not including `.') for the installed manual page filenames.
manext = 1
#### End of system configuration section. ####
SHELL = /bin/sh
LOADLIBES = $(LIBS) -lm
DISTFILES = COPYING ChangeLog INSTALL Makefile.in NEWS README configure \
configure.in dc.c dc.info dc.texinfo decimal.c decimal.h \
texinfo.tex
DISTNAME = dc-0.2
all: dc
.c.o:
$(CC) -c -I. -I$(srcdir) $(DEFS) $(CPPFLAGS) $(CFLAGS) $<
### targets required by GNU Coding standards ###
Makefile: Makefile.in config.status
./config.status
config.status: configure
$(srcdir)/configure --srcdir=$(srcdir) --no-create
configure: configure.in
cd $(srcdir); autoconf
TAGS:
cd $(srcdir); etags *.c *.h
clean:
rm -f *.o core a.out dc
mostlyclean: clean
distclean: clean
rm -f Makefile config.status
realclean: distclean
rm -f TAGS dc.info* configure
dist: $(DISTFILES)
rm -rf $(DISTNAME)
mkdir $(DISTNAME)
ln $(DISTFILES) $(DISTNAME)
tar --gzip -chf $(DISTNAME).tar.z $(DISTNAME)
rm -rf $(DISTNAME)
install: all
$(INSTALL_PROGRAM) dc $(bindir)/dc
-if test -f dc.info ; then d=.; else d=$(srcdir) ; fi; \
$(INSTALL) $${d}/dc.info $(infodir)/dc.info
uninstall: force
rm -f $(bindir)/dc
rm -f $(infodir)/dc.info
### Actual dc-specific targets ###
dc.o: dc.c decimal.h
decimal.o: decimal.c decimal.h
dc: dc.o decimal.o
$(CC) $(LDFLAGS) -o dc dc.o decimal.o $(LOADLIBES)
dc.info: dc.texinfo
makeinfo -I$(srcdir) --no-split dc.texinfo
dc.dvi: dc.texinfo
texi2dvi $(srcdir)/dc.texinfo
# Prevent GNU make v3 from overflowing arg limit on SysV.
.NOEXPORT: